BMI\Plugin\BMI_Ajax D

Total Complexity 388
Dependencies 15
Dependents 1
Total lines 1,772
Lines of code 1,333
Logical lines of code 1,077
Comment lines 142
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
parseFilesForBackup()
D
26
46 126
saveFilesConfig()
D
29 36 113
scanFilesForBackup()
D
33 32 85
__construct()
C
36 30 67
calculateCron()
C
33 26 91
saveOtherOptions()
B
38 22 63
prepareAndMakeBackup()
B
33 19 89
handleQuickMigration()
B
33 18 90
createBackup()
B
40 19 54
restoreBackup()
B
34 16 87
backupErrorHandler()
A
41 15 52
migrationExceptionHandler()
A
42 13 47
saveStorageConfig()
A
45 10 39
saveStorageTypeConfig()
A
47 8 32
dirSize()
S
53 6 21
downloadFile()
S
47 5 36
removeBackupFile()
S
54 6 19
resetLatestLogs()
S
54 6 18
isShellExecEnabled()
S
63 7 9
checkIfPHPCliExist()
S
60 5 14
sendTestMail()
S
59 5 13
toggleBackupLock()
S
57 4 15
makeBackupName()
S
48 2 33
getDynamicNames()
S
57 3 17
siteURL()
S
69 4 5
isMigrationLocked()
S
57 3 15
isRunningBackup()
S
66 3 7
stopBackup()
S
63 3 10
revertUnameProcess()
S
64 3 9
fixUnameFunction()
S
61 2 11
resetConfiguration()
S
71 2 6
handleChunkUpload()
S
80 1 3
getBackupsList()
S
69 1 6
revertLitespeed()
S
76 1 4
fixLitespeed()
S
76 1 4
backupExceptionHandler()
S
70 1 6
getSiteData()
S
69 1 6
migrationErrorHandler()
S
70 1 6
dismissErrorNotice()
S
81 1 3
debugging()
S
91 1 2